#ifndef __DBROLE_ENTERSENDER_H__
#define __DBROLE_ENTERSENDER_H__

#include "gwmessagemap.hpp"
#include "IMessageOperator.h"
#include "protonet.hpp"
#include "netlib.h"
#include "../DBServer.h"

/**
*@file       DBRole_EnterSender.h
*@brief      send message DBRole_Enter
*
*@author     graywind
*@version    1.0.0.0
*@data       2012/3/26
*/

///message wrapper
class msgDBRole_Enter
{
public:
    static const int MessageId = DBRole_Enter;
    //TODO
};

class HandleDBRole_Enter
{
public:
    ///@brief     handle message
    ///param[in]  msg     message wrapper of DBRole_Enter
    ///retval     void
    static void HandleMessage(msgDBRole_Enter* msg)
    {
        //TODO
        //Main Message:  msgDBServer
    }
};
///[message wrapper]  [handler]
RegisterHandler(msgDBRole_Enter, HandleDBRole_Enter);

#endif
